#include<iostream>
using namespace std;
int main(){
	int a=0;
	cin>>a;
	int count=0;
	for(int i=2;i<(a/2+1);i++){
		if(a%i==0){
			count++;
		}
	}
	count++; 
	cout<<count;
}
